Data Structures and Algorithms with JavaScript (Paperback)

Data Structures and Algorithms with JavaScript (Paperback)

作者: Michael McMillan
出版社: O'Reilly
出版在: 2014-03-24
ISBN-13: 9781449364939
ISBN-10: 1449364934
裝訂格式: Paperback
總頁數: 252 頁





內容描述


As an experienced JavaScript developer moving to server-side programming, you need to implement classic data structures and algorithms associated with conventional object-oriented languages like C# and Java. This practical guide shows you how to work hands-on with a variety of storage mechanisms—including linked lists, stacks, queues, and graphs—within the constraints of the JavaScript environment.Determine which data structures and algorithms are most appropriate for the problems you’re trying to solve, and understand the tradeoffs when using them in a JavaScript program. An overview of the JavaScript features used throughout the book is also included.This book covers:Arrays and lists: the most common data structuresStacks and queues: more complex list-like data structuresLinked lists: how they overcome the shortcomings of arraysDictionaries: storing data as key-value pairsHashing: good for quick insertion and retrievalSets: useful for storing unique elements that appear only onceBinary Trees: storing data in a hierarchical mannerGraphs and graph algorithms: ideal for modeling networksAlgorithms: including those that help you sort or search dataAdvanced algorithms: dynamic programming and greedy algorithms




相關書籍

Designing React Hooks the Right Way: Explore design techniques and solutions to debunk the myths about adopting states using React Hooks

作者 Jin Fang

2014-03-24

JavaScript + jQuery 程序設計 (慕課版)

作者 黃珍 潘穎

2014-03-24

大數據 : 隱私篇:數位時代,「刪去」是必要的美德 (delete: The Virtue of Forgetting in the Digital Age)

作者 麥爾荀伯格 (Viktor Mayer-Schönberger) 林俊宏 譯

2014-03-24